package com.xjy.pojo;

import java.util.List;

public class Comment {
    private String oid;
    private String pid;
    private String comm;
    private String picid;
    private String reply;

    private List<String> pics;

    public Comment(){}

    public Comment(String oid, String pid, String comm, String picid, String reply, List<String> pics) {
        this.oid = oid;
        this.pid = pid;
        this.comm = comm;
        this.picid = picid;
        this.reply = reply;
        this.pics = pics;
    }

    public Comment(String oid, String comm, String picid, String pid) {
        this.oid = oid;
        this.comm = comm;
        this.pid = pid;
        this.picid = picid;
    }

    public String getOid() {
        return oid;
    }

    public void setOid(String oid) {
        this.oid = oid;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getComm() {
        return comm;
    }

    public void setComm(String comm) {
        this.comm = comm;
    }

    public String getPicid() {
        return picid;
    }

    public void setPicid(String picid) {
        this.picid = picid;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public List<String> getPics() {
        return pics;
    }

    public void setPics(List<String> pics) {
        this.pics = pics;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "oid='" + oid + '\'' +
                ", pid='" + pid + '\'' +
                ", comm='" + comm + '\'' +
                ", picid='" + picid + '\'' +
                ", reply='" + reply + '\'' +
                ", pics=" + pics +
                '}';
    }
}
